home *** CD-ROM | disk | FTP | other *** search
- Path: cutter.ship.edu!dt1676
- From: dt1676@cutter.ship.edu (Dane G. Tritle)
- Newsgroups: comp.lang.c++
- Subject: MS-Windows Tasks
- Date: 21 Feb 1996 20:35:52 GMT
- Organization: Shippensburg University, Pennsylvania, USA
- Message-ID: <4gfvn8$642@battle.ship.edu>
- NNTP-Posting-Host: cutter.ship.edu
- Summary: Help on Getting Active Windows Tasks
- X-Newsreader: TIN [version 1.2 PL2]
-
- I am writing a task manager for MS-Winodws 3.1 with
- Borland C++ 4.0 just for fun.
-
- I make a call to the Windows API "EnumWindows()" function,
- and my callback function lists the window titles. The
- problem is that I'm getting everything that is running
- on the system, and I only want the active user tasks.
-
- I have tried to filter the tasks by checking the WS_VISIBLE
- flag through the Windows API "BOOL IsWindowVisible(hwnd)"
- function in the callback, but I still get all of the tasks.
-
- Thanks
-